package com.jd.jr.insights.dm.dim.util.fastjson.tree;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Created by Administrator on 2017/7/22.
 */
public class Result {


    private int code;
    private String name;

    public Result(int resultCode,String name) {
        this.code = code;
        this.name = name;
    }

    public Result(ResultCode resultCode) {
        this.code = resultCode.code;
        this.name = resultCode.name;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
